Skip to content

Conversation

@guanzhousongmicrosoft
Copy link
Collaborator

No description provided.

@@ -0,0 +1,445 @@
# Provided TLS mode: step-by-step test (AKV + Secrets Store CSI)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets put all tls setup doc under our /documentdb-playground/tls folder.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is improtant.

@@ -0,0 +1,186 @@
#!/usr/bin/env bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets move all the TLS cert-manager scripts to the documentdb-playground/tls folder.

done

if [[ -z "$RESOURCE_GROUP" ]]; then
RESOURCE_GROUP="guanzhou-${SUFFIX}-rg"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have guanzhou hardcoded in many places. Please replace them with param or documentdb

@hossain-rayhan
Copy link
Collaborator

We need a delete cluster or cleanup command to avoid cost.

@hossain-rayhan
Copy link
Collaborator

Here are my thoughts.
We'll add advanced configuration section in our top level README. That will get us to our docs/operator-public-document/preview/advanced-configuration folder. Here we'll have a link for TLS Configuration. This section will take us to documentdb-playground/tls folder.

Here we'll have a README or tls-setup.md file, which will give two simple commands maybe.

  • one for ./create_cluster.sh --suffix myusername --subscriptionid mysubscriptionid. It will take care of everything
  • another command for clean up: ./delete_cluster --all something like this.

@@ -0,0 +1,657 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a new folder tls under /documentdb-playground and move all the scripts and docs under it.

@@ -17,10 +17,10 @@ walReplica: false # Set to true to deploy the WAL replica plugin

image:
documentdbk8soperator:
repository: ghcr.io/microsoft/documentdb-kubernetes-operator/operator
repository: ghcr.io/guanzhousongmicrosoft/documentdb-kubernetes-operator/operator
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the official registry name.

pullPolicy: Always
sidecarinjector:
repository: ghcr.io/microsoft/documentdb-kubernetes-operator/sidecar
repository: ghcr.io/guanzhousongmicrosoft/documentdb-kubernetes-operator/sidecar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. Keep official repo name.

Enabled: pointer.Bool(true),
Parameters: params,
}}
}(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase. We changed the directory structure.

#set -e # Exit on any error

# Configuration
CLUSTER_NAME="guanzhou-102001"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use documentdb- prefix instead of our usernames.

# DocumentDB Operator Configuration
# For testing: use hossain-rayhan/documentdb-operator (fork with Azure enhancements)
# For production: use microsoft/documentdb-operator (official)
OPERATOR_GITHUB_ORG="guanzhousongmicrosoft"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default should be microsoft.

@@ -0,0 +1,445 @@
# Provided TLS mode: step-by-step test (AKV + Secrets Store CSI)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is improtant.

@xgerman xgerman merged commit 1515231 into documentdb:main Nov 5, 2025
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants